package com.healthcarex.hip.saas.security.dao;

import com.healthcarex.hip.saas.security.model.SysUser;
import com.healthcarex.hip.saas.security.model.UserWithRole;
import com.healthcarex.hip.saas.mybatis.config.MyMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author chenpan
 * @ClassName: UserDao
 * description:
 * @date 2018-04-02 16:32
 */
@Mapper
public interface UserDao extends MyMapper<SysUser> {

    List<UserWithRole> findUsers(SysUser user);

    UserWithRole findUserWithRole(Integer userId);

    SysUser findUserProfile(SysUser user);

}
